import request from '@/util/request'
import baseUrl from './base'

export function insertOtaPlan(data) {
  return request({
    url: baseUrl + '/ota/plan/insert',
    method: 'post',
    data
  })
}
export function updateOtaPlan(data) {
  return request({
    url: baseUrl + '/ota/plan/update',
    method: 'post',
    data
  })
}

export function deleteOtaPlan(data) {
  return request({
    url: baseUrl + '/ota/plan/delete',
    method: 'post',
    data
  })
}
export function listOtaPlan(data) {
  return request({
    url: baseUrl + '/ota/plan/list',
    method: 'post',
    data
  })
}

